/*
 * @Author: lp
 * @Date: 2022-01-20 11:45:52
 * @LastEditTime: 2022-04-15 14:49:31
 * @LastEditors: Please set LastEditors
 * @Description: 导入所有的svg图片
 * @FilePath: \nien-vue3-admin\src\components\IconSelect\requireIcons.ts
 */
// const req = require.context("../../assets/icons/svg", false, /\.svg$/);
const svgModule = import.meta.glob('../../assets/icons/*.svg')
const icons = Object.keys(svgModule).map((el) => el.replace(/(.*\/)*([^.]+).*/gi, '$2'))
export default icons
